load("@rules_jvm_external//:defs.bzl", "artifact")
load("//java:defs.bzl", "java_library")

java_library(
    name = "local",
    srcs = glob(["*.java"]),
    visibility = [
        "//java/src/org/openqa/selenium/grid/commands:__pkg__",
        "//java/src/org/openqa/selenium/grid/sessionmap/httpd:__pkg__",
        "//java/test/org/openqa/selenium/grid:__subpackages__",
    ],
    deps = [
        "//java/src/org/openqa/selenium/events",
        "//java/src/org/openqa/selenium/grid/config",
        "//java/src/org/openqa/selenium/grid/data",
        "//java/src/org/openqa/selenium/grid/log",
        "//java/src/org/openqa/selenium/grid/server",
        "//java/src/org/openqa/selenium/grid/sessionmap",
        "//java/src/org/openqa/selenium/remote",
        artifact("com.github.ben-manes.caffeine:caffeine"),
    ],
)
